Package japicmp.exception
Class JApiCmpException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- japicmp.exception.JApiCmpException
-
- All Implemented Interfaces:
java.io.Serializable
public class JApiCmpException extends java.lang.RuntimeException- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJApiCmpException.Reason
-
Field Summary
Fields Modifier and Type Field Description private JApiCmpException.Reasonreasonprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description JApiCmpException(JApiCmpException.Reason reason, java.lang.String msg)JApiCmpException(JApiCmpException.Reason reason, java.lang.String msg, java.lang.Throwable t)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JApiCmpExceptioncliError(java.lang.String format, java.lang.Object... args)static JApiCmpExceptionforClassLoading(java.lang.Exception e, java.lang.String name, JarArchiveComparator jarArchiveComparator)static JApiCmpExceptionforClassLoading(java.lang.String name, JarArchiveComparator jarArchiveComparator)JApiCmpException.ReasongetReason()static JApiCmpExceptionof(JApiCmpException.Reason reason, java.lang.String format, java.lang.Object... args)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
reason
private final JApiCmpException.Reason reason
-
-
Constructor Detail
-
JApiCmpException
public JApiCmpException(JApiCmpException.Reason reason, java.lang.String msg)
-
JApiCmpException
public JApiCmpException(JApiCmpException.Reason reason, java.lang.String msg, java.lang.Throwable t)
-
-
Method Detail
-
getReason
public JApiCmpException.Reason getReason()
-
cliError
public static JApiCmpException cliError(java.lang.String format, java.lang.Object... args)
-
of
public static JApiCmpException of(JApiCmpException.Reason reason, java.lang.String format, java.lang.Object... args)
-
forClassLoading
public static JApiCmpException forClassLoading(java.lang.Exception e, java.lang.String name, JarArchiveComparator jarArchiveComparator)
-
forClassLoading
public static JApiCmpException forClassLoading(java.lang.String name, JarArchiveComparator jarArchiveComparator)
-
-