public class InvalidElementException extends TitanException
Constructor and Description |
---|
InvalidElementException(String msg,
TitanElement element) |
Modifier and Type | Method and Description |
---|---|
TitanElement |
getElement()
Returns the element causing the exception
|
static IllegalStateException |
removedException(TitanElement element) |
String |
toString() |
isCausedBy
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public InvalidElementException(String msg, TitanElement element)
msg
- Exception messageelement
- The invalid element causing the exceptionpublic TitanElement getElement()
public static IllegalStateException removedException(TitanElement element)
Copyright © 2012–2015. All rights reserved.