Style Intelligence v12.0

inetsoft.uql.asset
Class RuntimeMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by inetsoft.uql.asset.RuntimeMessageException
All Implemented Interfaces:
inetsoft.util.LogException, Serializable

public class RuntimeMessageException
extends RuntimeException
implements inetsoft.util.LogException

Runtime exception implementation that holds information about how it is to be logged.

See Also:
Serialized Form

Constructor Summary
RuntimeMessageException(String message)
          Creates a new instance of MessageException.
RuntimeMessageException(String message, Level logLevel)
          Creates a new instance of MessageException.
 
Method Summary
 Level getLogLevel()
          Gets the logging level at which to print this exception.
 String getProperty(String name)
          Get a named proeprty.
 void setProperty(String name, String val)
          Set a named proeprty.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeMessageException

public RuntimeMessageException(String message)
Creates a new instance of MessageException. The log level is Level.SEVERE and the stack trace is printed by default.

Parameters:
message - the error message.

RuntimeMessageException

public RuntimeMessageException(String message,
                               Level logLevel)
Creates a new instance of MessageException. The stack trace is printed by default.

Parameters:
message - the error message.
logLevel - the logging level at which to print the exception.
Method Detail

getLogLevel

public Level getLogLevel()
Gets the logging level at which to print this exception.

Specified by:
getLogLevel in interface inetsoft.util.LogException
Returns:
the logging level..

setProperty

public void setProperty(String name,
                        String val)
Set a named proeprty.


getProperty

public String getProperty(String name)
Get a named proeprty.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.