Cosm
Class CosmException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by Cosm.CosmException
All Implemented Interfaces:
java.io.Serializable

public class CosmException
extends java.lang.Exception

See Also:
Serialized Form

Constructor Summary
CosmException(org.apache.http.StatusLine statusLine, java.lang.String body)
           
CosmException(java.lang.String errorMessage)
           
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CosmException

public CosmException(org.apache.http.StatusLine statusLine,
                     java.lang.String body)

CosmException

public CosmException(java.lang.String errorMessage)
Method Detail

getMessage

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