Microsoft.Xna.Framework.Content
Class ContentLoadException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by Microsoft.Xna.Framework.Content.ContentLoadException
All Implemented Interfaces:
java.io.Serializable

public class ContentLoadException
extends java.lang.RuntimeException

Exception used to report errors from the ContentManager.Load method.

Author:
Halofreak1990
See Also:
Serialized Form

Constructor Summary
ContentLoadException()
          Creates a new instance of ContentLoadException.
ContentLoadException(java.lang.String message)
          Creates a new instance of ContentLoadException.
ContentLoadException(java.lang.String message, java.lang.Exception innerException)
          Creates a new instance of ContentLoadException.
 
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

ContentLoadException

public ContentLoadException()
Creates a new instance of ContentLoadException.


ContentLoadException

public ContentLoadException(java.lang.String message)
Creates a new instance of ContentLoadException.

Parameters:
message - A message that describes the error.

ContentLoadException

public ContentLoadException(java.lang.String message,
                            java.lang.Exception innerException)
Creates a new instance of ContentLoadException.

Parameters:
message - A message that describes the error.
innerException - The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.