ujf.verimag.bip.parser
Class CompilerError

java.lang.Object
  extended by ujf.verimag.bip.parser.CompilerError

public class CompilerError
extends java.lang.Object

Author:
arobert list of BIP compiler error message. The text associated to the error is split in several strings to add the error parameters between the parts of the message.

Field Summary
static int BAD_ACTION
           
static int BAD_DATA_NUMBER
           
static int BAD_EXPORT_PORT_TYPE
           
static int BAD_PORT_TYPE
           
static int CONNECTOR_WITH_NO_PORT
           
static int DUPLICATE_DECLARATION
           
static int DUPLICATE_PORT_IN_CONNECTOR
           
static int ILLEGAL_EXP
           
static int ILLEGAL_USE_WAITING
           
static int ILLEGAL_USE_WAITING2
           
static int LIB_NOT_FOUND
           
static int NO_ERROR
           
static int NO_INITIAL_STATE
           
static int NO_INSTANCE_PORT
           
static int NO_PORT_EXPORTED
           
static int NOT_ENOUGTH_PARAM
           
static int NOT_ENOUGTH_PORT_IN_CNX
           
static int OLD_INITIAL_SYNTAXE
           
static int OTHER_ERROR
           
static int PACKAGE_NAME_MISMATCH
           
static int PORT_INST_NOT_CONNECTED
           
static int ROOT_SHOULD_NO_BE_ATOM
           
static int TOO_MANY_PARAM
           
static int TOO_MANY_PORT_IN_CNX
           
static int UNKNOWN_DATA_PARAM
           
static int UNKNOWN_ELEMENT
           
static int UNKNOWNPORT_IN_CONNECTOR
           
 
Constructor Summary
CompilerError()
           
 
Method Summary
static java.lang.String buildErrorMessage(int messageNumber, java.lang.String[] messageParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ERROR

public static final int NO_ERROR
See Also:
Constant Field Values

OTHER_ERROR

public static final int OTHER_ERROR
See Also:
Constant Field Values

ILLEGAL_USE_WAITING

public static final int ILLEGAL_USE_WAITING
See Also:
Constant Field Values

ILLEGAL_USE_WAITING2

public static final int ILLEGAL_USE_WAITING2
See Also:
Constant Field Values

UNKNOWN_ELEMENT

public static final int UNKNOWN_ELEMENT
See Also:
Constant Field Values

UNKNOWNPORT_IN_CONNECTOR

public static final int UNKNOWNPORT_IN_CONNECTOR
See Also:
Constant Field Values

NO_INSTANCE_PORT

public static final int NO_INSTANCE_PORT
See Also:
Constant Field Values

ILLEGAL_EXP

public static final int ILLEGAL_EXP
See Also:
Constant Field Values

UNKNOWN_DATA_PARAM

public static final int UNKNOWN_DATA_PARAM
See Also:
Constant Field Values

CONNECTOR_WITH_NO_PORT

public static final int CONNECTOR_WITH_NO_PORT
See Also:
Constant Field Values

BAD_PORT_TYPE

public static final int BAD_PORT_TYPE
See Also:
Constant Field Values

TOO_MANY_PORT_IN_CNX

public static final int TOO_MANY_PORT_IN_CNX
See Also:
Constant Field Values

NOT_ENOUGTH_PORT_IN_CNX

public static final int NOT_ENOUGTH_PORT_IN_CNX
See Also:
Constant Field Values

NOT_ENOUGTH_PARAM

public static final int NOT_ENOUGTH_PARAM
See Also:
Constant Field Values

TOO_MANY_PARAM

public static final int TOO_MANY_PARAM
See Also:
Constant Field Values

BAD_DATA_NUMBER

public static final int BAD_DATA_NUMBER
See Also:
Constant Field Values

BAD_EXPORT_PORT_TYPE

public static final int BAD_EXPORT_PORT_TYPE
See Also:
Constant Field Values

LIB_NOT_FOUND

public static final int LIB_NOT_FOUND
See Also:
Constant Field Values

DUPLICATE_DECLARATION

public static final int DUPLICATE_DECLARATION
See Also:
Constant Field Values

NO_PORT_EXPORTED

public static final int NO_PORT_EXPORTED
See Also:
Constant Field Values

BAD_ACTION

public static final int BAD_ACTION
See Also:
Constant Field Values

OLD_INITIAL_SYNTAXE

public static final int OLD_INITIAL_SYNTAXE
See Also:
Constant Field Values

NO_INITIAL_STATE

public static final int NO_INITIAL_STATE
See Also:
Constant Field Values

ROOT_SHOULD_NO_BE_ATOM

public static final int ROOT_SHOULD_NO_BE_ATOM
See Also:
Constant Field Values

DUPLICATE_PORT_IN_CONNECTOR

public static final int DUPLICATE_PORT_IN_CONNECTOR
See Also:
Constant Field Values

PORT_INST_NOT_CONNECTED

public static final int PORT_INST_NOT_CONNECTED
See Also:
Constant Field Values

PACKAGE_NAME_MISMATCH

public static final int PACKAGE_NAME_MISMATCH
See Also:
Constant Field Values
Constructor Detail

CompilerError

public CompilerError()
Method Detail

buildErrorMessage

public static java.lang.String buildErrorMessage(int messageNumber,
                                                 java.lang.String[] messageParameters)