6.3.1.1 Constructors

 

public JSMResponse ( String message )

public JSMResponse ( String status, String message )

public JSMResponse ( String status, String message, JSMList list )

public JSMResponse ( String status, String message, JSMFieldList fieldList )

public JSMResponse ( String status, String message, byte[] byteArray )

 

public JSMResponse ( JSMList list )

public JSMResponse ( JSMFieldList fieldList )

public JSMResponse ( JSMFieldList fieldList, JSMList list )

 

public JSMResponse ( byte[] byteArray )

 

public JSMResponse ( Throwable t )

 

If the constructor parameter is a Throwable object then the status value is ERROR and the message value comes from the Throwable object.

If the Throwable object is an instance of JSMException then the status and message values come from the JSMException object.

If the Throwable getMessage method returns a null, then the message value is the class name of the Throwable object.