public class SolutionModificationException extends JamesRuntimeException
| Constructor and Description |
|---|
SolutionModificationException(Solution solution)
Creates a new instance without detail message.
|
SolutionModificationException(String msg,
Solution solution)
Constructs an instance with the specified detail message.
|
SolutionModificationException(String msg,
Throwable cause,
Solution solution)
Constructs an instance with the specified detail message and cause.
|
SolutionModificationException(Throwable cause,
Solution solution)
Constructs an instance with the specified cause.
|
| Modifier and Type | Method and Description |
|---|---|
Solution |
getSolution()
Returns the solution that was being modified when this exception occurred.
|
String |
toString()
Extend string representation to include solution that was being modified.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic SolutionModificationException(Solution solution)
solution - solution that was being modifiedpublic SolutionModificationException(String msg, Solution solution)
msg - the detail messagesolution - solution that was being modifiedpublic SolutionModificationException(Throwable cause, Solution solution)
cause - other exception that caused this exceptionsolution - solution that was being modifiedpublic SolutionModificationException(String msg, Throwable cause, Solution solution)
msg - the detail messagecause - other exception that caused this exceptionsolution - solution that was being modifiedpublic Solution getSolution()
Copyright © 2016. All rights reserved.