org.das2
Class DasPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.das2.DasException
              extended by org.das2.DasPropertyException
All Implemented Interfaces:
java.io.Serializable

public class DasPropertyException
extends DasException

See Also:
Serialized Form

Nested Class Summary
static class DasPropertyException.MessageType
           
 
Field Summary
static DasPropertyException.MessageType NOT_DEFINED
           
static DasPropertyException.MessageType NOT_INDEXED
           
static DasPropertyException.MessageType READ_ONLY
           
static DasPropertyException.MessageType TYPE_MISMATCH
           
 
Constructor Summary
DasPropertyException(DasPropertyException.MessageType type)
           
DasPropertyException(DasPropertyException.MessageType type, java.lang.String propertyName, java.lang.String objectName)
           
DasPropertyException(DasPropertyException.MessageType type, java.lang.String propertyName, java.lang.String objectName, java.lang.String value)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getObjectName()
           
 java.lang.String getPropertyName()
           
 DasPropertyException.MessageType getType()
           
 void setMessageType(DasPropertyException.MessageType type)
           
 void setObjectName(java.lang.String name)
           
 void setPropertyName(java.lang.String name)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Field Detail

NOT_DEFINED

public static final DasPropertyException.MessageType NOT_DEFINED

READ_ONLY

public static final DasPropertyException.MessageType READ_ONLY

TYPE_MISMATCH

public static final DasPropertyException.MessageType TYPE_MISMATCH

NOT_INDEXED

public static final DasPropertyException.MessageType NOT_INDEXED
Constructor Detail

DasPropertyException

public DasPropertyException(DasPropertyException.MessageType type,
                            java.lang.String propertyName,
                            java.lang.String objectName,
                            java.lang.String value)

DasPropertyException

public DasPropertyException(DasPropertyException.MessageType type,
                            java.lang.String propertyName,
                            java.lang.String objectName)

DasPropertyException

public DasPropertyException(DasPropertyException.MessageType type)
Method Detail

getPropertyName

public java.lang.String getPropertyName()

setPropertyName

public void setPropertyName(java.lang.String name)

getObjectName

public java.lang.String getObjectName()

setObjectName

public void setObjectName(java.lang.String name)

getType

public DasPropertyException.MessageType getType()

setMessageType

public void setMessageType(DasPropertyException.MessageType type)

getMessage

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