public class AnalysisError
extends java.lang.Object
Constructor and Description |
---|
AnalysisError(java.lang.String message)
Constructor.
|
AnalysisError(java.lang.String message,
java.lang.Throwable exception)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Throwable |
getException() |
java.lang.String |
getExceptionMessage()
Get the exception message.
|
java.lang.String |
getMessage()
Get the message describing the error.
|
java.lang.String |
getNestedExceptionMessage()
Get the exception message.
|
java.lang.String[] |
getNestedStackTrace()
Get the stack trace elements.
|
java.lang.String[] |
getStackTrace()
Get the stack trace elements.
|
int |
hashCode() |
void |
setExceptionMessage(java.lang.String exceptionMessage)
Set the exception message.
|
void |
setMessage(java.lang.String message)
Set the message describing the error.
|
void |
setStackTrace(java.lang.String[] stackTraceList)
Set the stack trace elements.
|
public AnalysisError(java.lang.String message)
message
- message describing the errorpublic AnalysisError(java.lang.String message, java.lang.Throwable exception)
message
- message describing the errorexception
- exception which is the cause of the errorpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setMessage(java.lang.String message)
message
- message describing the errorpublic java.lang.String getMessage()
public void setExceptionMessage(java.lang.String exceptionMessage)
exceptionMessage
- the exception messagepublic java.lang.String getExceptionMessage()
public java.lang.String getNestedExceptionMessage()
public void setStackTrace(java.lang.String[] stackTraceList)
stackTraceList
- the stack trace elementspublic java.lang.String[] getStackTrace()
public java.lang.String[] getNestedStackTrace()
public java.lang.Throwable getException()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.