org.fosstrak.llrp.adaptor.exception
Class LLRPDuplicateNameException

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

public class LLRPDuplicateNameException
extends LLRPRuntimeException

exception class that can be used when there is a duplicate name subscription.

Author:
sawielan
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
          the name that caused the exception.
 
Fields inherited from class org.fosstrak.llrp.adaptor.exception.LLRPRuntimeException
exceptionType
 
Constructor Summary
LLRPDuplicateNameException()
          default constructor.
LLRPDuplicateNameException(java.lang.String message)
          constructor with exception message.
LLRPDuplicateNameException(java.lang.String name, java.lang.String message)
          constructor for a detailed exception.
 
Method Summary
 java.lang.String getDuplicateName()
          returns the name that caused the exception.
 
Methods inherited from class org.fosstrak.llrp.adaptor.exception.LLRPRuntimeException
getExceptionType, setExceptionType
 
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

name

protected java.lang.String name
the name that caused the exception.

Constructor Detail

LLRPDuplicateNameException

public LLRPDuplicateNameException()
default constructor.


LLRPDuplicateNameException

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

Parameters:
message - the exception.

LLRPDuplicateNameException

public LLRPDuplicateNameException(java.lang.String name,
                                  java.lang.String message)
constructor for a detailed exception.

Parameters:
name - the name that caused the exception.
message - the exception.
Method Detail

getDuplicateName

public java.lang.String getDuplicateName()
returns the name that caused the exception.

Returns:
the name that caused the exception.


Copyright © 2009. All Rights Reserved.