org.fosstrak.llrp.adaptor.exception
Class LLRPDuplicateNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fosstrak.llrp.adaptor.exception.LLRPRuntimeException
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. |
Method Summary |
java.lang.String |
getDuplicateName()
returns the name that caused the exception. |
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 |
name
protected java.lang.String name
- the name that caused the exception.
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.
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.