public static UnsupportedCycOperationException fromThrowable ( Throwable cause ) { return ( cause instanceof UnsupportedCycOperationException ) ? ( UnsupportedCycOperationException ) cause : new UnsupportedCycOperationException ( cause ) ; }
Converts a Throwable to a UnsupportedCycOperationException . If the Throwable is a UnsupportedCycOperationException it will be passed through unmodified ; otherwise it will be wrapped in a new UnsupportedCycOperationException .