org.apache.logging.log4j.core.appender
Class AppenderRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.logging.log4j.core.appender.AppenderRuntimeException
All Implemented Interfaces:
Serializable

public class AppenderRuntimeException
extends RuntimeException

See Also:
Serialized Form
Troublesome:
unchecked exception again (RG) Why is that a problem? A runtime exception is appropriate in the case where the Appender encounters a checked exception and needs to percolate the exception to the application.

Constructor Summary
AppenderRuntimeException(String msg)
           
AppenderRuntimeException(String msg, Throwable ex)
           
AppenderRuntimeException(Throwable ex)
           
 
Method Summary
 
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

AppenderRuntimeException

public AppenderRuntimeException(String msg)

AppenderRuntimeException

public AppenderRuntimeException(String msg,
                                Throwable ex)

AppenderRuntimeException

public AppenderRuntimeException(Throwable ex)


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.