jet.server.api.exception
Class UnknownMIMEType

java.lang.Object
  extended by JSException
      extended by jet.server.api.exception.UnknownMIMEType

public class UnknownMIMEType
extends JSException

Unknown MIME Type Exception


Constructor Summary
UnknownMIMEType(int msgKey)
          Construct a new UnknownMIMEType with specified message, the cause is not initialized.
UnknownMIMEType(int msgKey, java.lang.Object[] params, java.lang.Throwable cause)
          Constructs a new throwable with the specified detail message and cause.
UnknownMIMEType(int msgKey, java.lang.Throwable cause)
          Construct a new UnknownMIMEType with specified detail message and cause.
UnknownMIMEType(java.lang.String message)
          Construct a new UnknownMIMEType with specified message, the cause is not initialized.
UnknownMIMEType(java.lang.Throwable cause)
          Construct a new UnknownMIMEType with specified cause and a null detail message.
 
Method Summary
 java.lang.String getMessage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnknownMIMEType

public UnknownMIMEType(int msgKey,
                       java.lang.Object[] params,
                       java.lang.Throwable cause)
Constructs a new throwable with the specified detail message and cause.

Parameters:
msgKey - the message key in strJError, for find the message, and will be loged and showed to user.
params - the parameters used for format the message string, can be null.
cause - the cause (which is saved for later retrieval by the getCause.

UnknownMIMEType

public UnknownMIMEType(int msgKey,
                       java.lang.Throwable cause)
Construct a new UnknownMIMEType with specified detail message and cause.

Parameters:
msgKey - the message key
cause - the cause. A null is permitted, and it indicates the cause is nonexistent or unknown.

UnknownMIMEType

public UnknownMIMEType(int msgKey)
Construct a new UnknownMIMEType with specified message, the cause is not initialized.

Parameters:
msgKey - the message key

UnknownMIMEType

public UnknownMIMEType(java.lang.Throwable cause)
Construct a new UnknownMIMEType with specified cause and a null detail message.

Parameters:
cause - the cause.

UnknownMIMEType

public UnknownMIMEType(java.lang.String message)
Construct a new UnknownMIMEType with specified message, the cause is not initialized.

Parameters:
msg - the detail message.
Method Detail

getMessage

public java.lang.String getMessage()