Package it.tidalwave.util
Class AsException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- it.tidalwave.util.AsException
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class AsException extends java.lang.RuntimeExceptionThis exception is thrown by anas(...)method that is expected to retrieve a role for a given datum, when the role is not found.- Author:
- Fabrizio Giudici
- See Also:
- Serialized Form
- Status: stable API
 
- 
- 
Constructor SummaryConstructors Constructor Description AsException(java.lang.Class<?> roleType)Creates an exception.AsException(java.lang.Class<?> roleType, java.lang.Throwable cause)Creates an exception with a cause.
 
- 
- 
- 
Constructor Detail- 
AsExceptionpublic AsException(@Nonnull java.lang.Class<?> roleType)Creates an exception.- Parameters:
- roleType- the type of the role that was searched and not found
 
 - 
AsExceptionpublic AsException(@Nonnull java.lang.Class<?> roleType, @Nonnull java.lang.Throwable cause)Creates an exception with a cause.- Parameters:
- roleType- the type of the role that was searched and not found
- cause- the cause for not having found the role
 
 
- 
 
-