ContentsIndexHome
PreviousUpNext
AimmsException.AimmsException Constructor

Constructs a new AimmsException with the specified code and message. 

 

Java
public AimmsException(AimmsMessageCode code, 
                             String message);
Parameters 
Description 
AimmsMessageCode code 
The AimmsMessageCode specifies the category of the exception. The code can be obtained by invoking the which() method.  
String message 
The detailed message. The detailed message can be obtained by invoking the getMessage() method.