Class LuaFail

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
se.krka.kahlua.integration.LuaReturn
se.krka.kahlua.integration.LuaFail
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.List

public class LuaFail
extends LuaReturn
  • Field Summary

    Fields inherited from class se.krka.kahlua.integration.LuaReturn

    returnValues

    Fields inherited from class java.util.AbstractList

    modCount
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object getErrorObject()  
    java.lang.String getErrorString()  
    java.lang.RuntimeException getJavaException()  
    java.lang.String getLuaStackTrace()  
    boolean isSuccess()  
    int size()  
    java.lang.String toString()  

    Methods inherited from class se.krka.kahlua.integration.LuaReturn

    createReturn, get, getFirst, getSecond, getThird

    Methods inherited from class java.util.AbstractList

    add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList

    Methods inherited from class java.util.AbstractCollection

    addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.List

    addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
  • Method Details

    • isSuccess

      public boolean isSuccess()
      Specified by:
      isSuccess in class LuaReturn
    • getErrorObject

      public java.lang.Object getErrorObject()
      Specified by:
      getErrorObject in class LuaReturn
    • getErrorString

      public java.lang.String getErrorString()
      Specified by:
      getErrorString in class LuaReturn
    • getLuaStackTrace

      public java.lang.String getLuaStackTrace()
      Specified by:
      getLuaStackTrace in class LuaReturn
    • getJavaException

      public java.lang.RuntimeException getJavaException()
      Specified by:
      getJavaException in class LuaReturn
    • size

      public int size()
      Specified by:
      size in interface java.util.Collection
      Specified by:
      size in interface java.util.List
      Overrides:
      size in class LuaReturn
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.util.AbstractCollection