Class org.as2lib.data.holder.EmptyDataHolderException

????
   +--Error
      +--org.as2lib.env.except.AbstractThrowable
         +--org.as2lib.env.except.Exception
            +--org.as2lib.data.holder.DataHolderException
               +--org.as2lib.data.holder.EmptyDataHolderException

Description

EmptyDataHolderException is thrown if a method is called on an empty data holder that requires at least one element to be available.

Method Index

new EmptyDataHolderException()

Inherited from Exception

toString()

Inherited from AbstractThrowable

addStackTraceElement(), getCause(), getMessage(), getStackTrace(), getStringifier(), initCause(), setStringifier()

Constructor Detail

EmptyDataHolderException

public function EmptyDataHolderException(message:String, thrower, args:Array)

Constructs a new EmptyDataHolderException instance.

All arguments are allowed to be null or undefined. But if one is, the string representation returned by the toString method will not be complete.

The args array should be the internal arguments array of the method that throws the throwable. The internal arguments array exists in every method and contains its parameters, the callee method and the caller method. You can refernce it in every method using the name "arguments".

Parameters

messagethe message that describes the problem in detail
throwerthe object that declares the method that throws this exception
argsthe arguments of the throwing method