java.lang.annotation
public class AnnotationFormatError extends Error
Constructor and Description |
---|
AnnotationFormatError(String message)
Constructs a new
AnnotationFormatError
using the specified message to give details of the error. |
AnnotationFormatError(String message,
Throwable cause)
Constructs a new
AnnotationFormatError
using the specified message to give details of the error. |
AnnotationFormatError(Throwable cause)
Constructs a new
AnnotationFormatError using
the supplied cause Throwable to
provide additional history, with regards to the root
of the problem. |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AnnotationFormatError(String message)
AnnotationFormatError
using the specified message to give details of the error.message
- the message to use in the error output.public AnnotationFormatError(String message, Throwable cause)
Constructs a new AnnotationFormatError
using the specified message to give details of the error.
The supplied cause Throwable
is used to
provide additional history, with regards to the root
of the problem. It is perfectly valid for this to be null, if
the cause is unknown.
Note: if a cause is supplied, the error message from this cause is not automatically included in the error message given by this error.
message
- the message to use in the error outputcause
- the cause of this error, or null if the cause
is unknown.public AnnotationFormatError(Throwable cause)
AnnotationFormatError
using
the supplied cause Throwable
to
provide additional history, with regards to the root
of the problem. It is perfectly valid for this to be null, if
the cause is unknown. If the cause is not null, the error
message from this cause will also be used as the message
for this error.cause
- the cause of the error.