java.util

Class FormatterClosedException

Implemented Interfaces:
Serializable

public class FormatterClosedException
extends IllegalStateException

Unchecked exception thrown when the formatter has been closed.

Unless otherwise specified, passing a null argument to any method or constructor in this class will cause a NullPointerException to be thrown.

Since:
1.5
See Also:
Serialized Form

Constructor Summary

FormatterClosedException()
Constructs an instance of this class.

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, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

FormatterClosedException

public FormatterClosedException()
Constructs an instance of this class.
Usages and Demos :

View More Examples of FormatterClosedException()
   1:     private void assertOpen() {
   2:         if (out == null) throw new FormatterClosedException();
   3:     }
   4: 
   5:     private class FormatterContext extends FormatContext {

View Full Code Here