org.nanocontainer.script
Class UnsupportedScriptTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.picocontainer.PicoException
                  extended by org.nanocontainer.script.UnsupportedScriptTypeException
All Implemented Interfaces:
java.io.Serializable

public class UnsupportedScriptTypeException
extends org.picocontainer.PicoException

Indicates that a given file extension has no corresponding builder. The message will also indicate all supported builders.

Version:
1.0
Author:
Michael Rimov
See Also:
Serialized Form

Constructor Summary
UnsupportedScriptTypeException(java.lang.String specifiedFileExtension, java.lang.String[] allSupportedFileExtensions)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getRequestedExtension()
           
 java.lang.String[] getSystemSupportedExtensions()
           
 
Methods inherited from class org.picocontainer.PicoException
getCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnsupportedScriptTypeException

public UnsupportedScriptTypeException(java.lang.String specifiedFileExtension,
                                      java.lang.String[] allSupportedFileExtensions)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getSystemSupportedExtensions

public java.lang.String[] getSystemSupportedExtensions()

getRequestedExtension

public java.lang.String getRequestedExtension()


Copyright © 2003-2010 Codehaus. All Rights Reserved.