Package org.cyclos.server.model
Class NestedFrameworkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.cyclos.model.CyclosException
-
- org.cyclos.model.FrameworkException
-
- org.cyclos.server.model.NestedFrameworkException
-
- All Implemented Interfaces:
Serializable
public class NestedFrameworkException extends FrameworkException
An exception that indicates that another exception happened when processing a specific property, and optionally at a specific index.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NestedFrameworkException()NestedFrameworkException(FrameworkException exception, String propertyName)NestedFrameworkException(FrameworkException exception, String propertyName, Integer index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FrameworkExceptiongetException()IntegergetIndex()StringgetPropertyName()voidsetException(FrameworkException exception)voidsetIndex(Integer index)voidsetPropertyName(String propertyName)StringtoString()-
Methods inherited from class org.cyclos.model.CyclosException
getAttribute, getMessage, setAttribute, shouldGenerateLog
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
NestedFrameworkException
public NestedFrameworkException()
-
NestedFrameworkException
public NestedFrameworkException(FrameworkException exception, String propertyName)
-
NestedFrameworkException
public NestedFrameworkException(FrameworkException exception, String propertyName, Integer index)
-
-
Method Detail
-
getException
public FrameworkException getException()
-
getIndex
public Integer getIndex()
-
getPropertyName
public String getPropertyName()
-
setException
public void setException(FrameworkException exception)
-
setIndex
public void setIndex(Integer index)
-
setPropertyName
public void setPropertyName(String propertyName)
-
-