org.ops4j.pax.scanner
Class MalformedSpecificationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.net.MalformedURLException
                  extended by org.ops4j.pax.scanner.MalformedSpecificationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnsupportedSchemaException

public class MalformedSpecificationException
extends java.net.MalformedURLException

Thrown to indicate that a malformed specification was used. Either no legal scheme could be found in a specification string or the string could not be parsed.

Since:
September 04, 2007
Author:
Alin Dreghiciu
See Also:
Serialized Form

Constructor Summary
MalformedSpecificationException(java.net.MalformedURLException cause)
          To simulate a malformed url exception.
MalformedSpecificationException(java.lang.String message)
           
MalformedSpecificationException(java.lang.String message, java.lang.Throwable cause)
           
 
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

MalformedSpecificationException

public MalformedSpecificationException(java.lang.String message)
Parameters:
message - The exception message.
See Also:
Exception.Exception(String)

MalformedSpecificationException

public MalformedSpecificationException(java.lang.String message,
                                       java.lang.Throwable cause)
Parameters:
message - The exception message.
cause - The original cause of the exception.
See Also:
Exception.Exception(String,Throwable)

MalformedSpecificationException

public MalformedSpecificationException(java.net.MalformedURLException cause)
To simulate a malformed url exception.

Parameters:
cause - the cause


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.