org.modeshape.jcr.api

## Interface Problem

-     public interface Problem

  An immutable representation of a problem, with a code, message, and an optional exception.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getMessage()` Get the message written in the current locale.
    `Throwable` | `getThrowable()` Get the exception that caused this problem.

- - ### Method Detail

    - #### getMessage

          String getMessage()

      Get the message written in the current locale.
      Returns:
        the message; never null

    - #### getThrowable

          Throwable getThrowable()

      Get the exception that caused this problem.
      Returns:
        the exception, or null if no exception caused this problem

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.