r01f.reflection
Class ReflectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by r01f.exceptions.EnrichedRuntimeException
                  extended by r01f.reflection.ReflectionException
All Implemented Interfaces:
java.io.Serializable, EnrichedThrowable

public class ReflectionException
extends EnrichedRuntimeException

See Also:
Serialized Form

Nested Class Summary
(package private) static class ReflectionException.ReflectionExceptionSubTypes
           
 
Field Summary
private  java.lang.String _class
           
private  java.lang.String _field
           
private  java.lang.String _method
           
private static long serialVersionUID
           
 
Constructor Summary
ReflectionException()
           
ReflectionException(java.lang.String msg)
           
ReflectionException(java.lang.String msg, java.lang.Throwable otherEx)
           
ReflectionException(java.lang.Throwable otherEx)
           
 
Method Summary
private  void _subClass(java.lang.Throwable th)
          Obtiene la subclase de la excepción
 ReflectionException classNotFoundException()
           
 EnrichedExceptionCustomizationsInterfaces.ExceptionCustomizationsReader<ReflectionException,ReflectionException.ReflectionExceptionSubTypes> customizations()
           
 EnrichedExceptionCustomizationsInterfaces.ExceptionCustomizationsWriter<ReflectionException,ReflectionException.ReflectionExceptionSubTypes> customized()
           
 java.lang.Throwable getCause()
           
 java.lang.String getMessage()
           
 ReflectionException illegalArgumentException()
           
 ReflectionException inConstructor(java.lang.Class<?>... paramTypes)
           
 ReflectionException inField(java.lang.reflect.Field field)
           
 ReflectionException inField(java.lang.String fieldName)
           
 ReflectionException inMethod(java.lang.reflect.Method method, java.lang.Object... params)
           
 ReflectionException inMethod(java.lang.String methodName, java.lang.Class<?>... paramTypes)
           
 ReflectionException instantiationException()
           
 ReflectionException inType(java.lang.Object obj)
           
 ReflectionException inType(java.lang.String className)
           
 ReflectionException invocationTargetException()
           
 boolean isClassNotFoundException()
           
 boolean isIllegalArgumentException()
           
 boolean isInstantiationException()
           
 boolean isInvocationTargetException()
           
 boolean isNoConstructorException()
           
 boolean isNoFieldExcepton()
           
 boolean isNoMethodException()
           
 boolean isSecurityException()
           
 boolean isunknownSubClassException()
           
 ReflectionException noConstructorException()
           
 ReflectionException noFieldException()
           
 ReflectionException noMethodException()
           
 ReflectionException securityException()
           
 ReflectionException unknownSubClassException()
           
 
Methods inherited from class r01f.exceptions.EnrichedRuntimeException
getCausalChain, getCausalChainReversed, getRootCause, getRootClassName, getRootMethod, getRootTraceElement, getStackTraceAsString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface r01f.exceptions.EnrichedThrowable
fillInStackTrace, printStackTrace
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_class

private java.lang.String _class

_method

private java.lang.String _method

_field

private java.lang.String _field
Constructor Detail

ReflectionException

public ReflectionException()

ReflectionException

public ReflectionException(java.lang.String msg)

ReflectionException

public ReflectionException(java.lang.Throwable otherEx)

ReflectionException

public ReflectionException(java.lang.String msg,
                           java.lang.Throwable otherEx)
Method Detail

customized

public EnrichedExceptionCustomizationsInterfaces.ExceptionCustomizationsWriter<ReflectionException,ReflectionException.ReflectionExceptionSubTypes> customized()
Specified by:
customized in interface EnrichedThrowable
Overrides:
customized in class EnrichedRuntimeException

customizations

public EnrichedExceptionCustomizationsInterfaces.ExceptionCustomizationsReader<ReflectionException,ReflectionException.ReflectionExceptionSubTypes> customizations()
Specified by:
customizations in interface EnrichedThrowable
Overrides:
customizations in class EnrichedRuntimeException

inType

public ReflectionException inType(java.lang.String className)

inType

public ReflectionException inType(java.lang.Object obj)

inField

public ReflectionException inField(java.lang.String fieldName)

inField

public ReflectionException inField(java.lang.reflect.Field field)

inMethod

public ReflectionException inMethod(java.lang.String methodName,
                                    java.lang.Class<?>... paramTypes)

inMethod

public ReflectionException inMethod(java.lang.reflect.Method method,
                                    java.lang.Object... params)

inConstructor

public ReflectionException inConstructor(java.lang.Class<?>... paramTypes)

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class EnrichedRuntimeException

_subClass

private void _subClass(java.lang.Throwable th)
Obtiene la subclase de la excepción

Parameters:
th - la excepción

classNotFoundException

public ReflectionException classNotFoundException()

isClassNotFoundException

public boolean isClassNotFoundException()

noMethodException

public ReflectionException noMethodException()

isNoConstructorException

public boolean isNoConstructorException()

noConstructorException

public ReflectionException noConstructorException()

isNoMethodException

public boolean isNoMethodException()

noFieldException

public ReflectionException noFieldException()

isNoFieldExcepton

public boolean isNoFieldExcepton()

securityException

public ReflectionException securityException()

isSecurityException

public boolean isSecurityException()

illegalArgumentException

public ReflectionException illegalArgumentException()

isIllegalArgumentException

public boolean isIllegalArgumentException()

instantiationException

public ReflectionException instantiationException()

isInstantiationException

public boolean isInstantiationException()

invocationTargetException

public ReflectionException invocationTargetException()

isInvocationTargetException

public boolean isInvocationTargetException()

unknownSubClassException

public ReflectionException unknownSubClassException()

isunknownSubClassException

public boolean isunknownSubClassException()