org.fosstrak.llrp.adaptor.exception
Class LLRPRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fosstrak.llrp.adaptor.exception.LLRPRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LLRPDuplicateNameException

public class LLRPRuntimeException
extends java.lang.Exception

Exception class. This class acts as the top level exception for the llrp exception messages.

Author:
sawielan
See Also:
Serialized Form

Field Summary
protected  LLRPExceptionHandlerTypeMap exceptionType
           
 
Constructor Summary
LLRPRuntimeException()
          default constructor.
LLRPRuntimeException(java.lang.String message)
          constructor with exception message.
LLRPRuntimeException(java.lang.String message, LLRPExceptionHandlerTypeMap exceptionType)
          constructor with exception message and exception type.
 
Method Summary
 LLRPExceptionHandlerTypeMap getExceptionType()
          gets the exception type.
 void setExceptionType(LLRPExceptionHandlerTypeMap exceptionType)
          sets the exception type.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

exceptionType

protected LLRPExceptionHandlerTypeMap exceptionType
Constructor Detail

LLRPRuntimeException

public LLRPRuntimeException()
default constructor.


LLRPRuntimeException

public LLRPRuntimeException(java.lang.String message)
constructor with exception message.

Parameters:
message - the exception message.

LLRPRuntimeException

public LLRPRuntimeException(java.lang.String message,
                            LLRPExceptionHandlerTypeMap exceptionType)
constructor with exception message and exception type.

Parameters:
message - the exception message.
exceptionType - the exception type.
Method Detail

setExceptionType

public void setExceptionType(LLRPExceptionHandlerTypeMap exceptionType)
sets the exception type.

Parameters:
exceptionType - the exception type.

getExceptionType

public LLRPExceptionHandlerTypeMap getExceptionType()
gets the exception type.

Returns:
the exception type.


Copyright © 2009. All Rights Reserved.