Class NoSuchAttributeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.uni_trier.wi2.procake.utils.exception.CakeException
-
- de.uni_trier.wi2.procake.utils.exception.NoSuchAttributeException
-
- All Implemented Interfaces:
Serializable
public class NoSuchAttributeException extends CakeException
TheNoSuchAttributeExceptionis thrown when the requested attribute does not exists in the aggregate class.- Author:
- Rainer Maximini
- See Also:
CakeException, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchAttributeException(Object caller, String missingAttribute)NoSuchAttributeException(String component, String key, Object parameter1)NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2)NoSuchAttributeException(String component, String key, Object caller, Object[] parameters)NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2, Object parameter3)NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2, Object parameter3, Object parameter4)NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2, Object parameter3, Object parameter4, Object parameter5)NoSuchAttributeException(Throwable cause, Object caller, String missingAttribute)
-
Method Summary
-
Methods inherited from class de.uni_trier.wi2.procake.utils.exception.CakeException
getCaller, getComponent, getDetailedMessage, getKey, getParameter, getParameters
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchAttributeException
public NoSuchAttributeException(Object caller, String missingAttribute)
- Parameters:
caller- the caller of the exception (which is saved for later retrieval by theCakeException.getCaller()method)missingAttribute- the name of the missing attribute (which is saved for later retrieval by theCakeException.getParameter(int)} method)
-
NoSuchAttributeException
public NoSuchAttributeException(Throwable cause, Object caller, String missingAttribute)
- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method)caller- the caller of the exception (which is saved for later retrieval by theCakeException.getCaller()method)missingAttribute- the name of the missing attribute (which is saved for later retrieval by theCakeException.getParameter(int)} method)
-
NoSuchAttributeException
public NoSuchAttributeException(String component, String key, Object parameter1)
- Parameters:
component-key-parameter1-
-
NoSuchAttributeException
public NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2)
- Parameters:
component-key-parameter1-parameter2-
-
NoSuchAttributeException
public NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2, Object parameter3)
- Parameters:
component-key-parameter1-parameter2-parameter3-
-
NoSuchAttributeException
public NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2, Object parameter3, Object parameter4)
- Parameters:
component-key-parameter1-parameter2-parameter3-parameter4-
-
NoSuchAttributeException
public NoSuchAttributeException(String component, String key, Object parameter1, Object parameter2, Object parameter3, Object parameter4, Object parameter5)
- Parameters:
component-key-parameter1-parameter2-parameter3-parameter4-parameter5-
-
-