Class InputCode

java.lang.Object
com.sun.tools.corba.se.logutil.InputCode

public class InputCode extends Object
  • Constructor Details

    • InputCode

      public InputCode(String name, int code, String logLevel, String message)
      Creates a new error code with the specified name, code, log level and error message.
      Parameters:
      name - the name of the new code.
      code - the code itself.
      logLevel - the level of severity of this error.
      message - the error message for this code.
  • Method Details

    • getName

      public String getName()
      Returns the name of this code.
      Returns:
      the name of the code.
    • getCode

      public int getCode()
      Returns the code.
      Returns:
      the code.
    • getLogLevel

      public String getLogLevel()
      Returns the severity of this code.
      Returns:
      the log level severity of the code.
    • getMessage

      public String getMessage()
      Returns the error message for this code.
      Returns:
      the error message for this code.
    • toString

      public String toString()
      Returns a textual representation of this code.
      Overrides:
      toString in class Object
      Returns:
      a textual representation.