Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


oracle.eclipselink.coherence.exceptions
Class ExceptionMessageGenerator

java.lang.Object
  extended by oracle.eclipselink.coherence.exceptions.ExceptionMessageGenerator


public class ExceptionMessageGenerator
extends java.lang.Object

Builds translated message for Exceptions

Since:
Oracle TopLink 11g (11.1.1.0.0)
Author:
gyorke

Constructor Summary
ExceptionMessageGenerator()
           

 

Method Summary
static java.lang.String buildMessage(java.lang.Class exceptionClass, int errorNumber, java.lang.Object[] arguments)
          Return the message for the given exception class and error number.
protected static java.lang.String format(java.lang.String message, java.lang.Object[] arguments)
          Return the formatted message for the given exception class and error number.
static java.lang.String getHeader(java.lang.String headerLabel)
          Get one of the generic headers used for the exception's toString().

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ExceptionMessageGenerator

public ExceptionMessageGenerator()

Method Detail

buildMessage

public static java.lang.String buildMessage(java.lang.Class exceptionClass,
                                            int errorNumber,
                                            java.lang.Object[] arguments)
Return the message for the given exception class and error number.

format

protected static java.lang.String format(java.lang.String message,
                                         java.lang.Object[] arguments)
Return the formatted message for the given exception class and error number.

getHeader

public static java.lang.String getHeader(java.lang.String headerLabel)
Get one of the generic headers used for the exception's toString(). E.g., "EXCEPTION DESCRIPTION: ", "ERROR CODE: ", etc.

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.